{layout name="layout" /}

<div class="m2banBg">
    <div class="m2ban">
        {empty name='banner'}
        <img src="/static/images/m2ban05.jpg" width="1440" height="255" /> {else/}
        <img src="{$banner}" /> {/empty}
        <img class="m2banImg" src="/static/index/images/m2banImg.png" width="265" height="255" />
    </div>
</div>
<div class="main2">
    <div class="m2L">
        <div class="m3pos">您当前所在的位置：
            <a href="/">首页</a> >
            <span class="cor_red">主材联盟</span>
        </div>
        <div class="m2l_t1 m2l_t1a">
            {empty name='img_title'}
            <img src="/static/index/images/m2t5.jpg" width="733" height="55" /> {else/}
            <img src="{$img_title}" /> {/empty}
        </div>
        <div class="m2l_u2">
            <ul>
                {foreach $data as $val}
                <li style="height:240px">
                    <a href="{:url('product/probuild','id='.$val.id)}" target="_blank">
                        <img {notempty name="val.thumb" }src="{$val.thumb}" {else}src="/static/images/noImage.gif" {/notempty} alt="{$val.title}"
                            width="170" height="214">
                    </a>
                    <div class="m2l_txt2" style="width:520px;letter-spacing: 2px;line-height: 2.4;">
                        <strong>
                            <a href="/material/{$val.id}" class="cor_cf">
                                {$val.title}
                            </a>
                        </strong>
                        {$val.desc}
                        <a href="/material/{$val.id}" class="cor_red m2l_more2" style="bottom:0">查看更多>></a>
                    </div>
                </li>
                {/foreach}
            </ul>
            <div class="clear"></div>
        </div>
        <div class="pagin" id="Paging">{$data->render()} </div>
    </div>
    <uc1:left ID="left1" runat="server" />
    <div class="clear"></div>
</div>